// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Mint from 'mint-ui'

// 引入模拟mock数据
// import './mock/index'





import 'mint-ui/lib/style.css'
import 'swiper/css/swiper.css'
import  '../static/css/iconfont/iconfont.css'
import  '../static/css/common.css'
Vue.use(Mint)

Vue.filter('setWH',(url,arg)=>{
  return url.replace(/w\.h/,arg)
})


Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
